package com.ricervcvcer.order.client;

import com.ricervcvcer.common.util.ResultEntity;
import com.ricervcvcer.order.entity.SysUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(value = "user-server")
public interface UserClient {

    @PostMapping("user/id/{id}")
    ResultEntity<SysUser> id(@PathVariable("id")Long id);

}